package moc.type;

public class CHARTYPE extends ROWTYPE {


	

	
	
	
	public CHARTYPE(){
		
	}
	
	
	

	@Override
	public int getTaille() {

		return 1;
	}

	@Override
	public String toString() {
		
		return "char";
	}

	@Override
	public boolean equals(DTYPE autre) {
		
		return autre instanceof CHARTYPE;
	}




	@Override
	public boolean conforms(DTYPE autre) {
		
		return this.equals(autre)|| autre instanceof INTEGERTYPE;
	}

}
